package com.dao.cook.imp;

import java.util.List;

import javax.annotation.Resource;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Repository;

import com.dao.cook.CcommentDaoY;
import com.po.TomorrowmenuY;


@Repository
public class CcommentDaoImpY implements CcommentDaoY{
	
	@Resource(name = "sqlSessionTemplate")
	private SqlSessionTemplate sqlSessionTemplate;
	
	@Override
	public int addComment(List<TomorrowmenuY> list) {
		int i=sqlSessionTemplate.insert("addCommentY", list);
		return i;
	}

}
